#ifndef RESETPASSWORDDIALOG_H
#define RESETPASSWORDDIALOG_H

#include <QDialog>
#include <QLineEdit>
#include <QPushButton>
#include <QLabel>
#include <QVBoxLayout>
#include <QMessageBox>
#include <QSettings>

class ResetPasswordDialog : public QDialog {
    Q_OBJECT

public:
    explicit ResetPasswordDialog(const QString &username, QWidget *parent = nullptr);

private:
    QString username;
    QLineEdit *lineEditNewPassword;
    QLineEdit *lineEditConfirmPassword;
    QPushButton *buttonSubmit;
    QLabel *strengthLabel;
    QLabel *ruleLabel;

private slots:
    void resetPassword();
};

#endif // RESETPASSWORDDIALOG_H
